package com.example.eurekaserverclientusefeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "eureka-server-client",fallbackFactory = OneInterfaceFallbackFactory.class)
public interface OneInterface {
    @RequestMapping("/test_port")
    public String testPort();
}
